package com.ruoyi.zhgd.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 配比   自建-混凝土-配比详情业务对象 zj_hnt_scale
 *
 * @author zyb
 * @date 2023-10-30
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ZjHntScaleBo extends BaseEntity {

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 配比名称
     */
    @NotBlank(message = "配比名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String matchingName;

    /**
     * 强度等级
     */
    @NotBlank(message = "强度等级不能为空", groups = { AddGroup.class, EditGroup.class })
    private String matchingGrade;

    /**
     * 是否默认配比  (0  是,  1  否)
     */
    @NotNull(message = "是否默认配比  (0  是,  1  否)不能为空", groups = { AddGroup.class, EditGroup.class })
    private String status;

    /**
     * 备注
     */
    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;

    /**
     * 新增时间
     */
    @NotNull(message = "新增时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date insterTime;

    /**
     * 关联部门表
     */
    @NotNull(message = "关联部门表不能为空", groups = { AddGroup.class, EditGroup.class })
    private String identifier;

    /**
     * 最低拌合时间
     */
    @NotBlank(message = "最低拌合时间", groups = { AddGroup.class, EditGroup.class })
    private String minimumMixingTime;

}
